#include <Render/Include/TextureDX9.h>

using namespace Render;

// ========== INTERNAL METHODS ========== //

TextureDX9::TextureDX9(LPDIRECT3DTEXTURE9 p3DTexture, D3DXIMAGE_INFO texture_info)
{
    this->texture = p3DTexture;
    this->texture_info = texture_info;
}

TextureDX9::~TextureDX9(void)
{
    this->texture->Release();
}

LPDIRECT3DTEXTURE9 TextureDX9::getTexture()
{
    return this->texture;
}
